package com.yunkaweilai.android.model.member;

import java.util.List;

/**消费记录
 * Created by Administrator on 2017/6/29.
 */

public class MemberConsumeRecordModel {


    private int loginCode;
    private int code;
    private String message;

    private DataBean data;

    public int getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(int loginCode) {
        this.loginCode = loginCode;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * totalPages : 2
         * firstRow : 0
         * listRows : 2
         * count : 4
         * currpage : 1
         * next : true
         * prev : false
         */

        private PageBean page;

        private List<ListBean> list;

        public PageBean getPage() {
            return page;
        }

        public void setPage(PageBean page) {
            this.page = page;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class PageBean {
            private int totalPages;
            private int firstRow;
            private int listRows;
            private String count;
            private int currpage;
            private boolean next;
            private boolean prev;

            public int getTotalPages() {
                return totalPages;
            }

            public void setTotalPages(int totalPages) {
                this.totalPages = totalPages;
            }

            public int getFirstRow() {
                return firstRow;
            }

            public void setFirstRow(int firstRow) {
                this.firstRow = firstRow;
            }

            public int getListRows() {
                return listRows;
            }

            public void setListRows(int listRows) {
                this.listRows = listRows;
            }

            public String getCount() {
                return count;
            }

            public void setCount(String count) {
                this.count = count;
            }

            public int getCurrpage() {
                return currpage;
            }

            public void setCurrpage(int currpage) {
                this.currpage = currpage;
            }

            public boolean isNext() {
                return next;
            }

            public void setNext(boolean next) {
                this.next = next;
            }

            public boolean isPrev() {
                return prev;
            }

            public void setPrev(boolean prev) {
                this.prev = prev;
            }
        }

        public static class ListBean {
            private String id;//订单ID
            private String tid;//订单号
            private String consume_time;//消费日期
            private String payment;//应收价格
            private String s_payment;//实际收取价格
            private String payment_type;//支付方式
            private boolean isShowGoodsList;//是否有商品
            private String member_name;
            private String create_time;
            private String Strconsume_type;
            private String level_name;
            private List<GoodsListBean> GoodsList;
            private String card_no;

            public String getCard_no() {
                return card_no;
            }

            public void setCard_no(String card_no) {
                this.card_no = card_no;
            }

            public String getLevel_name() {
                return level_name;
            }

            public void setLevel_name(String level_name) {
                this.level_name = level_name;
            }

            public String getStrconsume_type() {
                return Strconsume_type;
            }

            public void setStrconsume_type(String strconsume_type) {
                Strconsume_type = strconsume_type;
            }

            public String getMember_name() {
                return member_name;
            }

            public void setMember_name(String member_name) {
                this.member_name = member_name;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public boolean isShowGoodsList() {
                return isShowGoodsList;
            }

            public void setShowGoodsList(boolean showGoodsList) {
                isShowGoodsList = showGoodsList;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTid() {
                return tid;
            }

            public void setTid(String tid) {
                this.tid = tid;
            }

            public String getConsume_time() {
                return consume_time;
            }

            public void setConsume_time(String consume_time) {
                this.consume_time = consume_time;
            }


            public String getPayment() {
                return payment;
            }

            public void setPayment(String payment) {
                this.payment = payment;
            }



            public String getS_payment() {
                return s_payment;
            }

            public void setS_payment(String s_payment) {
                this.s_payment = s_payment;
            }

            public String getPayment_type() {
                return payment_type;
            }

            public void setPayment_type(String payment_type) {
                this.payment_type = payment_type;
            }


            public List<GoodsListBean> getGoodsList() {
                return GoodsList;
            }

            public void setGoodsList(List<GoodsListBean> GoodsList) {
                this.GoodsList = GoodsList;
            }

            public static class GoodsListBean {
                private String id;
                private String goods_id;
                private String goods_sku;
                private String goods_name;
                private String unit;
                private String shop_price;
                private String discount_price;
                private String goods_num;
                private String goods_type;
                private String create_time;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getGoods_id() {
                    return goods_id;
                }

                public void setGoods_id(String goods_id) {
                    this.goods_id = goods_id;
                }

                public String getGoods_sku() {
                    return goods_sku;
                }

                public void setGoods_sku(String goods_sku) {
                    this.goods_sku = goods_sku;
                }

                public String getGoods_name() {
                    return goods_name;
                }

                public void setGoods_name(String goods_name) {
                    this.goods_name = goods_name;
                }

                public String getUnit() {
                    return unit;
                }

                public void setUnit(String unit) {
                    this.unit = unit;
                }

                public String getShop_price() {
                    return shop_price;
                }

                public void setShop_price(String shop_price) {
                    this.shop_price = shop_price;
                }

                public String getDiscount_price() {
                    return discount_price;
                }

                public void setDiscount_price(String discount_price) {
                    this.discount_price = discount_price;
                }

                public String getGoods_num() {
                    return goods_num;
                }

                public void setGoods_num(String goods_num) {
                    this.goods_num = goods_num;
                }

                public String getGoods_type() {
                    return goods_type;
                }

                public void setGoods_type(String goods_type) {
                    this.goods_type = goods_type;
                }



                public String getCreate_time() {
                    return create_time;
                }

                public void setCreate_time(String create_time) {
                    this.create_time = create_time;
                }

            }
        }
    }
}
